package cup.com.icss.dao;

import cup.com.icss.model.TheRepair;
import cup.com.icss.model.TheRepairExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TheRepairMapper {
    int countByExample(TheRepairExample example);

    int deleteByExample(TheRepairExample example);

    int deleteByPrimaryKey(String id);

    int insert(TheRepair record);

    int insertSelective(TheRepair record);

    List<TheRepair> selectByExample(TheRepairExample example);

    TheRepair selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TheRepair record, @Param("example") TheRepairExample example);

    int updateByExample(@Param("record") TheRepair record, @Param("example") TheRepairExample example);

    int updateByPrimaryKeySelective(TheRepair record);

    int updateByPrimaryKey(TheRepair record);
    
    List<TheRepair> selectTheRepairList(@Param("start") int pageNum, @Param("end") int pageSize, @Param("t") TheRepair reocrd);
    
    List<TheRepair> selectTheRepairListSize(TheRepair reocrd);
}